Skip to content

Instantly share code, notes, and snippets.

Avatar
💻
Learning new stuff

Samuel MARLHENS smarlhens

💻
Learning new stuff
View GitHub Profile
View angular-ci-cd-github-actions-netlify-26.yml
// [...]
steps:
// [...]
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v1.1
with:
publish-dir: './build'
production-branch: master
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deploy from GitHub Actions"
View angular-ci-cd-github-actions-netlify-25.yml
// [...]
steps:
- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v2.x
- name: Download artifact
uses: actions/download-artifact@v2
with:
name: ng9-github-actions-netlify-${{ env.GITHUB_REF_SLUG }}-${{ github.run_id }}-${{ github.run_number }}
path: './build'
View angular-ci-cd-github-actions-netlify-23.yml
// [...]
steps:
// [...]
- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v2.x
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: ng9-github-actions-netlify-${{ env.GITHUB_REF_SLUG }}-${{ github.run_id }}-${{ github.run_number }}
path: ./dist/ng9-github-actions-netlify
View angular-ci-cd-github-actions-netlify-22.yml
// [...]
steps:
// [...]
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: ng9-github-actions-netlify-${{ github.ref }}-${{ github.run_id }}-${{ github.run_number }}
path: ./dist/ng9-github-actions-netlify
View angular-ci-cd-github-actions-netlify-19.yml
// [...]
steps:
// [...]
- name: Unit tests
run: npm run test:ci
- name: E2E
run: npm run e2e:ci