Skip to content

Commit

Permalink
Attempt to revert to an earlier version of the deploy.yml GitHub Action
Browse files Browse the repository at this point in the history
Since the current version doesn't actually seem to be doing anything much...
  • Loading branch information
jcoo092 committed Jul 11, 2023
1 parent 9069f1e commit 5ab326a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 40 deletions.
44 changes: 9 additions & 35 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,38 +6,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '7' # SDK Version to use.
- run: dotnet run -c Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload GitHubPages artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'output/'

deploy:
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-dotnet@v3
with:
dotnet-version: '7' # SDK Version to use.
- run: dotnet run -c Release -- deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 1 addition & 5 deletions input/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,4 @@ Description: Computer Scientist, Software Developer, Application Security Enthu

# Hello World

Hello from my first Statiq page.

## Subsection

And this is a subsection
This is a simple statically generated site, to serve as a blog host and rudimentary CV for myself.

0 comments on commit 5ab326a

Please sign in to comment.