Skip to content

deploy keyではなくtokenで試してみる #29

deploy keyではなくtokenで試してみる

deploy keyではなくtokenで試してみる #29

Workflow file for this run

name: Build and Deploy to Netlify
on:
pull_request:
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Setup Perl
uses: shogo82148/actions-setup-perl@v1
with:
perl-version: '5.38'
- name: Build
run: make build
- name: Deploy to Netlify
uses: nwtgck/[email protected]
with:
publish-dir: './public'
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deploy from GitHub Actions"
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}