Skip to content

Commit

Permalink
update github-action-push-to-another-repository, set environment URL
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Jul 1, 2023
1 parent 92a5c9b commit 10836d5
Show file tree
Hide file tree
Showing 2 changed files with 3,316 additions and 3,274 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
environment:
name: Production
url: "https://brdgm.me/${{ vars.APP_NAME }}"

steps:
- uses: actions/checkout@v3
Expand All @@ -23,7 +26,7 @@ jobs:
- run: npm run build

- name: Copy to Site
uses: cpina/github-action-push-to-another-repository@v1.4.1
uses: cpina/github-action-push-to-another-repository@v1.7.2
env:
API_TOKEN_GITHUB: ${{ secrets.GH_SITE_DEPLOY_PAT }}
with:
Expand All @@ -34,5 +37,5 @@ jobs:
user-email: ${{ secrets.GH_SITE_DEPLOY_EMAIL }}
user-name: ${{ secrets.GH_SITE_DEPLOY_NAME }}
target-branch: main
commit-message: deploy application
target-directory: joan-of-arc-orleans
commit-message: deploy ${{ vars.APP_NAME }}
target-directory: ${{ vars.APP_NAME }}
Loading

0 comments on commit 10836d5

Please sign in to comment.