diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml new file mode 100644 index 00000000..5cdb1fbe --- /dev/null +++ b/.github/workflows/gh-pages.yml @@ -0,0 +1,30 @@ +name: GitHub Pages + +on: + push: + branches: + - stable + +jobs: + build-deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v1 + + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: "latest" + extended: true + + - name: Build + working-directory: ./exampleSite + run: hugo --minify --themesDir ../.. --baseURL https://jpanther.github.io/Congo/ + + - name: Deploy + uses: peaceiris/actions-gh-pages@v2 + env: + PERSONAL_TOKEN: ${{ secrets.PersonalAccessToken }} + PUBLISH_BRANCH: gh-pages + PUBLISH_DIR: ./exampleSite/public diff --git a/README.md b/README.md index b3919ffe..b44a105f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# Hugo Congo Theme +# Congo -Congo is designed to be a lightweight and fast theme for Hugo. It's based upon Tailwind CSS with a clean and minimalist design. +Congo is designed to be a fast, lightweight theme for Hugo. It's based upon Tailwind CSS with a clean and minimalist design. ## Features