aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2024-06-23 20:30:27 -0500
committerChristian Cleberg <hello@cleberg.net>2024-06-23 20:30:27 -0500
commit0c07d4b176ff942706cbf6650c04e3cfe733592f (patch)
tree970bdd90d8324bd55dc670644ca5897d9686c788 /.github/workflows
parent2230628ad9731658fde87916bc55e2d324a127c4 (diff)
downloadcleberg.net-0c07d4b176ff942706cbf6650c04e3cfe733592f.tar.gz
cleberg.net-0c07d4b176ff942706cbf6650c04e3cfe733592f.tar.bz2
cleberg.net-0c07d4b176ff942706cbf6650c04e3cfe733592f.zip
swap back to sourcehut
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/azure-static-web-apps-polite-tree-0f2fa1d10.yml51
1 files changed, 0 insertions, 51 deletions
diff --git a/.github/workflows/azure-static-web-apps-polite-tree-0f2fa1d10.yml b/.github/workflows/azure-static-web-apps-polite-tree-0f2fa1d10.yml
deleted file mode 100644
index 1c28d85..0000000
--- a/.github/workflows/azure-static-web-apps-polite-tree-0f2fa1d10.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-name: Azure Static Web Apps CI/CD
-
-on:
- push:
- branches:
- - main
- pull_request:
- types: [opened, synchronize, reopened, closed]
- branches:
- - main
-
-jobs:
- build_and_deploy_job:
- if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
- runs-on: ubuntu-latest
- name: Build and Deploy Job
- steps:
- - uses: taiki-e/install-action@v2
- with:
- tool: zola@0.19.0
- - uses: actions/checkout@v4
- with:
- submodules: true
- lfs: false
- - name: Build Zola Site
- run: zola build
- - name: Build And Deploy
- id: builddeploy
- uses: Azure/static-web-apps-deploy@v1
- with:
- azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_POLITE_TREE_0F2FA1D10 }}
- repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
- action: "upload"
- ###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
- # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
- app_location: "/public" # App source code path
- api_location: "" # Api source code path - optional
- output_location: "" # Built app content directory - optional
- ###### End of Repository/Build Configurations ######
-
- close_pull_request_job:
- if: github.event_name == 'pull_request' && github.event.action == 'closed'
- runs-on: ubuntu-latest
- name: Close Pull Request Job
- steps:
- - name: Close Pull Request
- id: closepullrequest
- uses: Azure/static-web-apps-deploy@v1
- with:
- azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_POLITE_TREE_0F2FA1D10 }}
- action: "close"