Skip to content

Update dnd logo

Update dnd logo #36

Workflow file for this run

name: πŸ—οΈ Deploy site
on:
push:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
name: πŸ—οΈ Deploy site
runs-on: ubuntu-latest
steps:
- name: ⬇ Checkout
uses: actions/checkout@v4
- name: πŸ‘· Build the project
run: |
docker run --rm -i -v "$(pwd):/src" klakegg/hugo
- name: πŸͺ’ Get build repository
run: |
git config --global url.https://github.com/.insteadOf git://github.com/
git clone --depth 1 https://github.com/opengento/opengento.github.io.git
- name: πŸ“ Copy release
run: |
cp -R public/* opengento.github.io
- name: πŸ€– Commit changes
run: |
cd opengento.github.io
git remote set-url origin https://x-access-token:${{ secrets.ACTIONS_GITHUB_TOKEN }}@github.com/opengento/opengento.github.io.git
git config --global user.email "actions@github.com"
git config --global user.name "πŸ€– Github Commit Hook"
git add -A .
git commit -a -m "rebuilding site `date`"
git push origin master