Skip to content

Commit

Permalink
Merge pull request #1 from tappeddev/move-to-github
Browse files Browse the repository at this point in the history
create github job
  • Loading branch information
stefanschaller authored Oct 9, 2024
2 parents 1e2fbd4 + 42b3c6c commit 0260f85
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 23 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Deploy Hugo site to GitHub Pages

on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v3
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
- name: Build Hugo site
run: hugo --minify
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload Artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./public

deploy:
runs-on: ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v2
22 changes: 0 additions & 22 deletions .gitlab-ci.yml

This file was deleted.

1 change: 0 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions .idea/tapped-website.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0260f85

Please sign in to comment.