images #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Example deploy workflow | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Installing node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm install | |
# Comment out to run the deploy script when you push to the repository. | |
#- run: npm run deploy | |
# env: | |
# DXP_OE_SERVER_URL: ${{ secrets.CDCI_STAGING_URL }} | |
# DXP_OE_SERVER_TOKEN: ${{ secrets.CDCI_STAGING_TOKEN }} | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# Comment out to run test script after deployment. | |
#- run: npm run test | |
# env: | |
# DXP_OE_SERVER_URL: ${{ secrets.CDCI_STAGING_URL }} | |
# DXP_OE_SERVER_TOKEN: ${{ secrets.CDCI_STAGING_TOKEN }} |