Archived
SHA256
This commit is contained in:
1 parent
2a67982d54
commit
407129e3f9
1 file changed
+22
@@ -0,0 +1,22 @@
|
||||
on: push
|
||||
name: Build and upload website update
|
||||
jobs:
|
||||
build-upload:
|
||||
name: build-and-upload
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Pull repo
|
||||
uses: actions/checkout@v6
|
||||
- name: Run node build
|
||||
uses: actions/node-action@main
|
||||
with:
|
||||
script: 'build.js'
|
||||
- name: Push changes to webserver
|
||||
uses: SamKirkland/FTP-Deploy-Action@v4.3.6
|
||||
with:
|
||||
server: ${{ vars.FTP_URL }}
|
||||
username: ${{ vars.FTP_USERNAME }}
|
||||
password: ${{ secrets.FTP_PASSWORD }}
|
||||
local-dir: dist/
|
||||
dry-run: true
|
||||
server-dir: domains/beta.janishutz.com/public_html/
|
||||
Reference in new issue
Block a user