Skip to content

added perrmisions

added perrmisions #5

Workflow file for this run

# Deploy your Hyas site to GitHub Pages
name: GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-20.04
steps:

Check failure on line 13 in .github/workflows/deploy-github.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-github.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Set execute permission for hugo-installer
run: chmod +x node_modules/.bin/hugo-installer
- name: Check for linting errors
run: npm test
- name: Build production website
run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public