From b94021e375c803622373b0cc6306c7a72cfaa825 Mon Sep 17 00:00:00 2001 From: Klaus Ferreira Date: Mon, 23 Oct 2023 10:23:45 -0300 Subject: [PATCH] build: add main.yml --- .github/workflows/main.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..146ea63 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,21 @@ +name: Build and Deploy +on: + push: + branches: + - release +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: All things angular + uses: AhsanAyaz/angular-deploy-gh-pages-actions@v1.4.0 + with: + github_access_token: ${{ secrets.GITHUB_TOKEN }} # see the Configuration section for how you can create secrets + build_configuration: production # The build environment for the app. please look configurations in your angular.json + base_href: /devcaminhante-org/ # make sure this corresponds to https://.github.io// + angular_dist_build_folder: dist # The folder where your project is supposed to be after running ng build by the action. + +permissions: + contents: write # Allow write permission to GITHUB_TOKEN to commit to deploy branch.