Skip to content

Commit

Permalink
Create push-to-external-repo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
EricCui2005 authored Nov 7, 2024
1 parent 77e84a9 commit b9e9aed
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/push-to-external-repo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: (main) push to external repo
on:
push:
branches:
- main
jobs:
push-to-external-repo:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v3
- name: push to external repository
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.SSH_DEPLOY_KEY }}
publish_dir: .
external_repository: EricCui2005/Stanford-ACM
publish_branch: main
allow_empty_commit: true

0 comments on commit b9e9aed

Please sign in to comment.