Skip to content

Add deployment to legislation parameters viewer (WIP) #43

Add deployment to legislation parameters viewer (WIP)

Add deployment to legislation parameters viewer (WIP) #43

Workflow file for this run

name: Validate, integrate & deploy to tax-benefit.org
on:
- push
- workflow_dispatch
jobs:
validate_yaml:
uses: tax-benefit/actions/.github/workflows/[email protected]
with:
parameters_path: "openfisca_tunisia/parameters"
secrets:
token: ${{ secrets.CONTROL_CENTER_TOKEN }}
deploy_parameters:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
github-server-url: https://git.leximpact.dev/leximpact

Check failure on line 21 in .github/workflows/tax-benefit.yml

View workflow run for this annotation

GitHub Actions / Validate, integrate & deploy to tax-benefit.org

Invalid workflow file

The workflow is not valid. .github/workflows/tax-benefit.yml (Line: 21, Col: 7): Unexpected value 'github-server-url' .github/workflows/tax-benefit.yml (Line: 22, Col: 7): Unexpected value 'path'
path: legislation-parameters-explorer
repository: leximpact/legislation-parameters-explorer
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: Install npm dependencies
run: npm install
- name: Run build task
run: npm run build --if-present
- name: Deploy to Server
uses: easingthemes/ssh-deploy@main
with:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "-rlgoDzvc -i --delete"
SOURCE: "dist/"
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: ${{ secrets.REMOTE_TARGET }}
EXCLUDE: "/dist/, /node_modules/"
deploy_simulator:
uses: tax-benefit/actions/.github/workflows/[email protected]
with:
python_package: "openfisca_tunisia"
secrets:
token: ${{ secrets.CONTROL_CENTER_TOKEN }}