Skip to content

Update release-site.yml #6

Update release-site.yml

Update release-site.yml #6

Workflow file for this run

name: Release site
'on':
workflow_dispatch: {}
# schedule:
# # * is a special character in YAML so you have to quote this string
# - cron: '45 23 * * *'
push:
branches: [ main ]
paths:
- 'src/**'
- '_config.js'
- 'deno.json'
- 'import_map.json'
- '.github/workflows/release-site.yml'
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: denoland/setup-deno@v1
with:
deno-version: v1.44.2
- name: Create new release
shell: bash
env:
SSH_HOST: ${{ secrets.SSH_HOST }}
SSH_PATH: ${{ secrets.SSH_PATH }}
SSH_USER: ${{ secrets.SSH_USER }}
SSHPASS: ${{ secrets.SSHPASS }}
run: deno task vr push-release