AhsanAyaz / AhsanAyaz/angular-deploy-gh-pages-actions

The Action does not update content on GitHub pages

Ouverte
#81 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
HTML
Étoiles
62
Forks
23
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Here's my playbook:

**main.yml**
```yaml
name: Build and Deploy
on:
push:
branches:
- master
jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build and deploy Angular app using external action
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.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: // # make sure this corresponds to https://.github.io//
deploy_branch: gh-pages # The branch the action should deploy to.
angular_dist_build_folder: dist//browser # 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.
```

Logs are correct:

```yaml
Run AhsanAyaz/angular-deploy-gh-pages-actions@v1.4.0

Installing dependencies 🏃

npm warn deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead

added 1051 packages, and audited 1052 packages in 17s

122 packages are looking for funding
run `npm fund` for details

22 vulnerabilities (1 low, 9 moderate, 12 high)

To address all issues, run:
npm audit fix

Run `npm audit` for details.

Creating ng build 💪

- Building...

Warning: G] 2 rules skipped due to selector errors:
.form-floating>~label -> Did not expect successive traversals.
.form-floating>~label -> Did not expect successive traversals.

Initial Chunk Files | Names | Raw Size | Estimated Transfer Size
main-UKXNFH4B.js | main | 491.35 kB | 112.03 kB
styles-PRFF6WQC.css | styles | 341.94 kB | 35.76 kB
scripts-WHMWRBVB.js | scripts | 107.00 kB | 33.02 kB
polyfills-LZBJRJJE.js | polyfills | 32.69 kB | 10.59 kB

| Initial Total | 972.99 kB | 191.40 kB

Application bundle generation complete. [16.665 seconds]

Successfully copied dist//browser/index.html to dist//browser/404.html!

Deploying build ..💪

Checking configuration and starting deployment...🚦
Deploying using Access Token... 🔑
Configuring git...
Git configured... 🔧
Starting to commit changes...
Creating the gh-pages branch...
Created the gh-pages branch... 🔧
Changes committed to the gh-pages branch... 📦
Running post deployment cleanup jobs...
Completed Deployment Successfully! ✅

Deployed build successfully! 🎉🎉🎉
```

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.