This commit is contained in:
parent
848006c026
commit
115107d648
@ -1,9 +1,7 @@
|
||||
name: Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
workflow_dispatch:
|
||||
|
||||
runs-on: selfhost
|
||||
|
||||
@ -17,14 +15,14 @@ jobs:
|
||||
run: |
|
||||
curl --user minijack:${{ secrets.PACKAGE_TOKEN }} \
|
||||
https://git.quartznet.info/api/packages/quartznet/generic/artifacts/ref-${{ gitea.sha }}/build-${{ gitea.sha }}.tar.gz > build.tar.gz
|
||||
echo https://git.quartznet.info/api/packages/quartznet/generic/artifacts/ref-${{ gitea.sha }}/build-${{ gitea.sha }}.tar.gz
|
||||
echo https://git.quartznet.info/api/packages/quartznet/generic/artifacts/ref-${{ gitea.sha }}/build-${{ gitea.sha }}.tar.gz
|
||||
- name: extract artifact
|
||||
run: |
|
||||
tar -xvzf build.tar.gz
|
||||
tar -xvzf build.tar.gz
|
||||
- run: ls -la build
|
||||
- run: ls -la /www/
|
||||
- run: ls -la /www/svelte/
|
||||
- run: ls -la /www/quartznet-info/
|
||||
- name: 🧹 Clean Deploy Area
|
||||
run: rm -rf /www/svelte/build
|
||||
run: rm -rf /www/quartznet-info/build
|
||||
- name: 📦 Deploy
|
||||
run: mv build /www/svelte/
|
||||
run: mv build /www/quartznet-info/
|
||||
|
Loading…
x
Reference in New Issue
Block a user