Skip to content

Убрал деплой в GitHub Pages #16

Убрал деплой в GitHub Pages

Убрал деплой в GitHub Pages #16

Workflow file for this run

name: Build and Deploy
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
jobs:
jbang:
runs-on: ubuntu-latest
name: A job to run jbang
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: netlify
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: checkout
uses: actions/checkout@v4
with:
token: ${{secrets.TOKEN}}
- uses: actions/cache@v1
with:
path: /root/.jbang
key: $-jbang-$
restore-keys: |
$-jbang-
- name: jbang
uses: jbangdev/[email protected]
with:
script: [email protected]
scriptargs: bundle ./presentation/kotlin-script.reveal.kts
- name: Deploy to Netlify
uses: nwtgck/[email protected]
with:
publish-dir: './out'
production-branch: master
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deploy from GitHub Actions"
enable-pull-request-comment: false
enable-commit-comment: true
overwrites-pull-request-comment: true
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1