Skip to content

Merge pull request #104 from ivoa/add-newsletter-archetype #38

Merge pull request #104 from ivoa/add-newsletter-archetype

Merge pull request #104 from ivoa/add-newsletter-archetype #38

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@v4
- name: Setup Hugo
uses: ./.github/actions/setup-hugo
- name: Setup PageFind
uses: ./.github/actions/setup-pagefind
- name: Build the website
run: make html
- 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/