Skip to content

Commit

Permalink
Configure deploy (#1)
Browse files Browse the repository at this point in the history
* Add CNAME and this branch to workflow

* Comment out only build if main

* Remove CNAME

* Switch deployment to Main only.
  • Loading branch information
luisaforozco authored Dec 22, 2023
1 parent 1923669 commit b0becd9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
with:
submodules: false # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
Expand All @@ -27,9 +24,6 @@ jobs:
- name: Build
run: HUGO_ENV=production hugo --minify

- name: Make sure that CNAME is there
run: cp -f CNAME public/CNAME

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
Expand Down

0 comments on commit b0becd9

Please sign in to comment.