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