Skip to content

test deployment action #3

test deployment action

test deployment action #3

Workflow file for this run

on:
workflow_dispatch:
pull_request:
branches:
- main
jobs:
list-manifests:
runs-on: ubuntu-latest
outputs:
paths: ${{ steps.list-manifests.outputs.paths }}
steps:
- name: List manifests
id: list-manifests
uses: mirko-felice/[email protected]
with:
repo: ${{ github.repository }}
ref: ${{ github.ref }}
path: "."
ext: "manifest.json"
deploy:
needs: list-manifests
runs-on: ubuntu-latest
strategy:
matrix:
paths: ${{ fromJson(needs.list-manifests.outputs.paths) }}
steps:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: "pip"
- name: Install CLI
run: python -m pip install rsconnect-python
- name: Deploy
run: |
echo ${{ matrix.paths }}