Correct date on debian-12-update-wifi-missing.md #122
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Deno Setup | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: "1.45.5" | |
- name: Build | |
run: | | |
git clone https://github.com/smack0007/smack0007.github.io.git -b pages bin | |
sudo chown -R $USER:$USER ./bin | |
deno task build:ci | |
- name: Publish | |
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} | |
run: | | |
git log -1 --pretty=%B > commit.msg | |
cd bin | |
git config --global user.name "$GITHUB_ACTOR" | |
git config --global user.email "${GITHUB_ACTOR}@bots.github.com" | |
git add -A && git commit -F "../commit.msg" || true | |
git push "https://x-access-token:${{ secrets.API_KEY }}@github.com/${GITHUB_REPOSITORY}.git" || true |