Update and rename hugo.yml to main.yml

This commit is contained in:
GURU SABARISH
2020-10-24 10:19:26 +05:30
committed by GitHub
parent 037ec98b51
commit 345341dd3b
@@ -3,7 +3,7 @@ name: github pages
on: on:
push: push:
branches: branches:
- main # Set a branch to deploy - master # Set a branch to deploy
jobs: jobs:
deploy: deploy:
@@ -26,5 +26,5 @@ jobs:
- name: Deploy - name: Deploy
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: HUGO_DEPLOY
publish_dir: ./public publish_dir: ./public