Skip to content

CD 📦🚀

CD 📦🚀 #5

Workflow file for this run

name: CD Pipeline
run-name: CD 📦🚀
on:
workflow_run:
workflows: ['CI Pipeline']
types: [completed]
branches:
- 'main'
jobs:
CD:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: Installing Devbox ⚙️
uses: jetpack-io/[email protected]
- name: Install all dependencies 📦
run: devbox run install-dev
- name: 📦 Package
run: devbox run build
- name: 🚀 Publish to PyPI
run: devbox run publish
env:
TWINE_USERNAME: ${{ variables.TWINE_USERNAME }}

Check failure on line 31 in .github/workflows/cd.yaml

View workflow run for this annotation

GitHub Actions / CD Pipeline

Invalid workflow file

The workflow is not valid. .github/workflows/cd.yaml (Line: 31, Col: 27): Unrecognized named-value: 'variables'. Located at position 1 within expression: variables.TWINE_USERNAME
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
- run: echo "🍏 This job's status is ${{ job.status }}."