Update GH Actions workflows with command-docker-action and command-re… #7
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: CI | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.OAPICF_GITHUB_TOKEN }} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '22' | |
- uses: iamsauravsharma/[email protected] | |
with: | |
file-path: '/tmp/.env' | |
env: | |
GITHUB_ACTIONS: ${{ env.GITHUB_ACTIONS }} | |
- uses: cliffano/[email protected] | |
with: | |
command: 'make ci' | |
image: cliffano/studio:2.5.0 | |
shell: bash | |
extra_path: /usr/local/go/bin:/usr/local/maven/bin:/usr/local/node/bin:/usr/local/openjdk-jdk/bin:/root/.cargo/bin:/root/go/bin | |
env_file: '/tmp/.env' | |
- run: npm install -g gh-pages | |
- run: CACHE_DIR=/tmp gh-pages --dist doc/ --user "pakkunbot <[email protected]>" --repo "https://cliffano:${{ secrets.OAPICF_GITHUB_TOKEN }}@github.com/oapicf/openapi-okta-ip-ranges.git" |