diff --git a/.github/workflows/skynet_publish.yml b/.github/workflows/skynet_publish.yml deleted file mode 100644 index c13a026..0000000 --- a/.github/workflows/skynet_publish.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: publish to skynet -on: - pull_request: - push: - branches: [master] - -jobs: - publish: - name: build and publish to skynet - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Inject slug/short variables - uses: rlespinasse/github-slug-action@v3.x - - name: "Set master version" - if: ${{ github.ref == 'refs/heads/master'}} - run: echo "APP_VERSION=$APP_VERSION" >> $GITHUB_ENV - env: - APP_VERSION: $(git rev-parse --short "$GITHUB_SHA") - - name: "Set branch version" - if: ${{ github.ref != 'refs/heads/master'}} - run: echo "APP_VERSION=$APP_VERSION" >> $GITHUB_ENV - env: - APP_VERSION: ${{ env.GITHUB_REF_SLUG }}-$(git rev-parse --short "$GITHUB_SHA") - - name: Setup dotnet - uses: actions/setup-dotnet@v1 - with: - dotnet-version: 7.0.x - - name: Build with dotnet - run: dotnet build --configuration Release - - name: Publish Website - run: dotnet publish SkyDocs.Blazor -o publish/SkyDocs.Blazor -c Release --version-suffix ${{ env.APP_VERSION }} - - name: Deploy to Skynet - uses: SkynetLabs/deploy-to-skynet-action@v2 - with: - upload-dir: publish/SkyDocs.Blazor/wwwroot - github-token: ${{ secrets.GITHUB_TOKEN }} - registry-seed: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && secrets.REGISTRY_SEED || '' }} - registry-datakey: skydocs \ No newline at end of file diff --git a/README.md b/README.md index 5dbcc3e..afc1f77 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ A decentralized Google Docs alternative running on Sia Skynet (deprecated) and D Alternatives: - GitHub pages: https://michielpost.github.io/SkyDocs/ -- https://skydocs.hns.skynetfree.net (signup required) +- CloudFlare: https://skydocs.pages.dev/ Features: