Add deployment workflow #7

Merged
hubrecht merged 32 commits from refs/pull/7/head into master 2023-06-30 11:56:52 +02:00
Showing only changes of commit ff3064f34f - Show all commits

View file

@ -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