Update .forgejo/workflows/deploy.yaml
This commit is contained in:
parent
73aaef20e4
commit
0923e49449
1 changed files with 7 additions and 7 deletions
|
|
@ -22,19 +22,19 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo "Run triggered by ${{ github.event_name }} (${{ github.event.action }}) on ref ${{ github.ref_name }}"
|
echo "Run triggered by ${{ github.event_name }} (${{ github.event.action }}) on ref ${{ github.ref_name }}"
|
||||||
|
|
||||||
|
- name: Bootstrap CI Tools
|
||||||
|
run: |
|
||||||
|
apt update
|
||||||
|
apt -y install nodejs git rsync openssh-client
|
||||||
|
pip install --upgrade pip
|
||||||
|
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0 # pull full history for page lastmod by git commit date
|
fetch-depth: 0 # pull full history for page lastmod by git commit date
|
||||||
|
|
||||||
- name: Install packages
|
- name: Install Python packages
|
||||||
run: |
|
run: |
|
||||||
apt update
|
|
||||||
# For CI actions.
|
|
||||||
apt -y install nodejs
|
|
||||||
# For website build.
|
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
# For uploading.
|
|
||||||
apt -y install rsync openssh-client
|
|
||||||
|
|
||||||
- name: Build website - prod
|
- name: Build website - prod
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue