From 6f2b0a2772a78999f88cdd72f6adee2bb2c83891 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Sat, 5 Aug 2023 18:10:16 +0530 Subject: [PATCH] chore(actions): apt deployment action --- .github/workflows/apt.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/apt.yml diff --git a/.github/workflows/apt.yml b/.github/workflows/apt.yml new file mode 100644 index 0000000..1a192a4 --- /dev/null +++ b/.github/workflows/apt.yml @@ -0,0 +1,33 @@ +name: APT Repository + +on: + push: + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "repos" + cancel-in-progress: false + +jobs: + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup GitHub pages + uses: actions/configure-pages@v3 + - name: Upload repository artifact + uses: actions/upload-pages-artifact@v2 + with: + path: './package/dpkg/apt' + - name: Deploy to GitHub pages + id: deployment + uses: actions/deploy-pages@v2