Skip to content

HTML vscode redirect #1010

HTML vscode redirect

HTML vscode redirect #1010

Workflow file for this run

name: Nextflow website build
# read more here
# https://help.github.com/en/articles/workflow-syntax-for-github-actions#on
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
schedule:
- cron: "0 1 * * *" # Daily, 1am
jobs:
build:
name: Nextflow website build
if: "!contains(github.event.head_commit.message, '[ci skip]')"
runs-on: ubuntu-20.04
timeout-minutes: 10
strategy:
fail-fast: false
steps:
- name: Environment
run: env | sort
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- name: Install website deps
run: npm ci
- name: Build website
run: npm run build
- name: Publish website
if: github.event_name != 'pull_request'
run: |
make publish
make invalidate
env:
AWS_EC2_METADATA_DISABLED: true
AWS_ACCESS_KEY_ID: ${{secrets.NXF_AWS_ACCESS}}
AWS_SECRET_ACCESS_KEY: ${{secrets.NXF_AWS_SECRET}}