From 2ebd7faf2597f28b3431054ef5ca5400ddd5eaa5 Mon Sep 17 00:00:00 2001 From: ice Date: Sun, 21 Apr 2024 19:09:17 -0400 Subject: [PATCH] Refractor --- .../{new.yml => deploy-gh-pages.yml} | 0 .github/workflows/ghpagesdeploy.yml | 23 ------------------- 2 files changed, 23 deletions(-) rename .github/workflows/{new.yml => deploy-gh-pages.yml} (100%) delete mode 100644 .github/workflows/ghpagesdeploy.yml diff --git a/.github/workflows/new.yml b/.github/workflows/deploy-gh-pages.yml similarity index 100% rename from .github/workflows/new.yml rename to .github/workflows/deploy-gh-pages.yml diff --git a/.github/workflows/ghpagesdeploy.yml b/.github/workflows/ghpagesdeploy.yml deleted file mode 100644 index 47565fb..0000000 --- a/.github/workflows/ghpagesdeploy.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: Build and Deploy -on: - push: - branches: - - main -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 ## replace by latest version without it you will see Expected format {org}/{repo}[/path]@ref. Actual 'AhsanAyaz/angular-deploy-gh-pages-actions',Input string was not in a correct format. - with: - github_access_token: ${{ secrets.GH_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: /bockpit/ # make sure this corresponds to https://.github.io// - deploy_branch: gh-pages # The branch the action should deploy to. - angular_dist_build_folder: dist/bockpit/browser # The folder where your project is supposed to be after running ng build by the action. - - run: ls -permissions: - contents: write # Allow write permission to GITHUB_TOKEN to commit to deploy branch.