Skip to content

Commit

Permalink
Set up github action
Browse files Browse the repository at this point in the history
  • Loading branch information
IlyasOsman committed May 11, 2024
1 parent 42f52d1 commit f197fe6
Show file tree
Hide file tree
Showing 2 changed files with 22 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: ilyasosman/NakujaProject-web
publish_branch: main
allow_empty_commit: true
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ dist-ssr
*.njsproj
*.sln
*.sw?

github-NakujaProject-web
github-NakujaProject-web.pub

0 comments on commit f197fe6

Please sign in to comment.