Skip to content

Commit

Permalink
create build-website.yml action
Browse files Browse the repository at this point in the history
  • Loading branch information
trel authored Dec 21, 2024
1 parent c6017fe commit ac27a8d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: build-website
on: [push]
jobs:
build:
name: build-website
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: SSH the remote script
uses: appleboy/ssh-action@v1.2.0
with:
host: ${{ secrets.BUILDER_HOST }}
username: ${{ secrets.USERNAME }}
port: ${{ secrets.PORT }}
key: ${{ secrets.BUILDER_KEY }}
proxy_host: ${{ secrets.PROXY_HOST }}
proxy_username: ${{ secrets.USERNAME }}
proxy_port: ${{ secrets.PORT }}
proxy_key: ${{ secrets.PROXY_KEY }}
script: |
time ./build_website.sh

0 comments on commit ac27a8d

Please sign in to comment.