This commit is contained in:
@@ -11,10 +11,17 @@ jobs:
|
|||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
ref: main
|
ref: main
|
||||||
|
- name: Sign into gitea registry
|
||||||
|
uses: actions/docker-login@v3
|
||||||
|
with:
|
||||||
|
username: ${{ vars.REGISTRY_USER_USERNAME }}
|
||||||
|
password: ${{ secrets.REGISTRY_USER_PASSWORD }}
|
||||||
|
registry: ${{ vars.REGISTRY_BASE_URL }}
|
||||||
- name: Run node build
|
- name: Run node build
|
||||||
uses: actions/node-action@main
|
uses: actions/node-action@main
|
||||||
with:
|
with:
|
||||||
script: 'build.js'
|
script: 'build.js'
|
||||||
|
workdir: /
|
||||||
- name: Push changes to webserver
|
- name: Push changes to webserver
|
||||||
uses: actions/ftp-deploy@v4.3.6
|
uses: actions/ftp-deploy@v4.3.6
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user