Skip to content

build(deps): bump actions/github-script from 6 to 7 #1182

build(deps): bump actions/github-script from 6 to 7

build(deps): bump actions/github-script from 6 to 7 #1182

Workflow file for this run

name: main
on: [push]
jobs:
build:
runs-on: ubuntu-20.04
permissions:
contents: read
deployments: write
statuses: write
steps:
- uses: actions/checkout@v4
# (from: https://github.com/actions/checkout/tree/f95f2a38561736d1542cb9fbf736eea3d00ab5a6#checkout-submodules)
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- uses: actions/setup-node@v3.8.1
with:
node-version: 12.x
- run: npm ci
- run: npm run build
- name: Google Search Console
run: 'echo "google-site-verification: ${{ secrets.GOOGLE_SITE_VERIFICATION_CODE }}.html" > dist/${{ secrets.GOOGLE_SITE_VERIFICATION_CODE }}.html'
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v2.1
with:
publish-dir: './dist'
production-branch: master
github-token: ${{ secrets.GITHUB_TOKEN }}
enable-pull-request-comment: false
enable-commit-comment: false
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}