Update deploy_github_pages.yml

archived
Mohsen Taghavi 2024-03-30 16:16:07 +03:30 committed by GitHub
parent 9391d3c255
commit 00e4072017
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 10 deletions

View File

@ -31,13 +31,13 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build publish_dir: ./build
- name: Deploy to mirror repo - name: Deploy to mirror repo
uses: cpina/github-action-push-to-another-repository@main uses: cpina/github-action-push-to-another-repository@main
env: env:
API_TOKEN_GITHUB: ${{ secrets.EXTERNAL_REPOSITORY_PERSONAL_ACCESS_TOKEN }} API_TOKEN_GITHUB: ${{ secrets.EXTERNAL_REPOSITORY_PERSONAL_ACCESS_TOKEN }}
with: with:
source-directory: public/ source-directory: public/
destination-github-username: fxclient destination-github-username: fxclient
destination-repository-name: fxclient.github.io destination-repository-name: fxclient.github.io
user-email: mohsenemx@gmail.com user-email: mohsenemx@gmail.com
# It defaults to `main` # It defaults to `main`
target-branch: "gh-pages" target-branch: "gh-pages"