Merge pull request 'Adopt shared ci-actions for publishing' (#76) from ci/shared-actions into main
All checks were successful
Deploy to Pages / build (push) Successful in 3m4s
All checks were successful
Deploy to Pages / build (push) Successful in 3m4s
Reviewed-on: https://home.schmelczer.dev/git/git/andras/schmelczer-dev/pulls/76
This commit is contained in:
commit
fcb0e25ebd
1 changed files with 8 additions and 8 deletions
|
|
@ -45,14 +45,14 @@ jobs:
|
|||
|
||||
- name: Copy build to host pages mount
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
run: |
|
||||
apt update && apt install -y rsync
|
||||
mkdir -p /pages
|
||||
rsync -a --delete dist/ /pages/schmelczer-dev
|
||||
uses: http://forgejo:3000/andras/ci-actions/deploy-pages@main
|
||||
with:
|
||||
source: dist
|
||||
target: schmelczer-dev
|
||||
|
||||
- name: Copy build to staging pages mount
|
||||
if: github.event_name == 'pull_request'
|
||||
run: |
|
||||
apt update && apt install -y rsync
|
||||
mkdir -p /pages
|
||||
rsync -a --delete dist/ /pages/schmelczer-dev-staging
|
||||
uses: http://forgejo:3000/andras/ci-actions/deploy-pages@main
|
||||
with:
|
||||
source: dist
|
||||
target: schmelczer-dev-staging
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue