Add deployment workflow #7
1 changed files with 2 additions and 7 deletions
|
@ -21,16 +21,11 @@ jobs:
|
||||||
HOME="$GITHUB_WORKSPACE" nix-build dgnum.eu
|
HOME="$GITHUB_WORKSPACE" nix-build dgnum.eu
|
||||||
|
|
||||||
- name: Clone dgnum.eu pages
|
- name: Clone dgnum.eu pages
|
||||||
uses: actions/checkout@v3
|
run: |
|
||||||
env:
|
git clone https://codeberg.org/DGNum/pages
|
||||||
GITHUB_SERVER_URL: 'https://codeberg.org'
|
|
||||||
with:
|
|
||||||
repository: 'DGNum/pages'
|
|
||||||
path: pages
|
|
||||||
|
|
||||||
- name: Update assets
|
- name: Update assets
|
||||||
run: |
|
run: |
|
||||||
rm -r ../pages/*
|
|
||||||
cp -R --no-preserve=mode,ownership,timestamps result/* ../pages/
|
cp -R --no-preserve=mode,ownership,timestamps result/* ../pages/
|
||||||
|
|
||||||
- name: Push new website
|
- name: Push new website
|
||||||
|
|
Loading…
Reference in a new issue