diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d0397edab..f90185d0a 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -35,5 +35,11 @@ jobs: - name: Publish Docker Image run: | docker push "$REGISTRY_HOSTNAME"/cytoid/"$IMAGE" - #- name: 'gcr.io/cloud-builders/gsutil' - # run: gsutil -m -h "Cache-Control:public, max-age=604800" rsync -r -c -d ./.nuxt/dist/client gs://static.cytoid.io + - name: Publish + uses: cloudflare/pages-action@1 + with: + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} + projectName: cytoid + directory: ./.nuxt/dist/client + gitHubToken: ${{ secrets.GITHUB_TOKEN }}