Skip to content

Merge pull request #82 from ivoa/iss61 #27

Merge pull request #82 from ivoa/iss61

Merge pull request #82 from ivoa/iss61 #27

Workflow file for this run

name: "Deploy the main version of the website"
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Hugo
uses: ./.github/actions/setup-hugo
- name: Build the website
run: ~/hugo
- name: Deploy the website
uses: Dylan700/sftp-upload-action@latest
with:
username: webstage
server: web.ivoa.net
port: ${{ secrets.SFTP_PORT }}
key: ${{ secrets.STAGE_ID }}
uploads: |
./public/ => ./ivoa-web-stage/