From 5e0b66ad386a62ba24641a40375e3f9cef94782f Mon Sep 17 00:00:00 2001 From: osamu-kj Date: Fri, 7 Apr 2023 23:44:23 +0200 Subject: [PATCH] Init: start the project --- .github/workflows/ci.yml | 13 +++++++++++++ index.html | 1 + 2 files changed, 14 insertions(+) create mode 100644 .github/workflows/ci.yml create mode 100644 index.html diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..47a3756 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,13 @@ +name: Publish site +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: bcomnes/deploy-to-neocities@v1 + if: ${{ github.ref == 'refs/heads/main' }} + with: + api_token: ${{ secrets.NEOCITIES_API_KEY }} + dist_dir: ./ + cleanup: true diff --git a/index.html b/index.html new file mode 100644 index 0000000..cb2c091 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +

Testing Github actions