Skip to content

Update priv_release.yml #12

Update priv_release.yml

Update priv_release.yml #12

Workflow file for this run

name: Priv Release
on:
push:
branches:
- priv-release
schedule:
# utc: 2 am.
- cron: "0 2 * * *"
workflow_dispatch:
inputs:
priv_branch:
required: false
default: "main"
concurrency:
group: priv-release-${{ github.ref }}
cancel-in-progress: true
jobs:
release:
name: Release pip
permissions:
contents: read
pull-requests: write
uses: Oneflow-Inc/oneflow/.github/workflows/release.yml@priv-release
with:
is_priv: true
branch: ${{ inputs.priv_branch || 'main' }}
secrets:
ONEFLOW_PRIV_ORG: ${{ secrets.ONEFLOW_PRIV_ORG }}
ONEFLOW_PRIV_GH_TOKEN: ${{ secrets.ONEFLOW_PRIV_GH_TOKEN }}
ONEFLOW_PRIV_OSS_PREFIX: ${{ secrets.ONEFLOW_PRIV_OSS_PREFIX }}
OSS_ACCESS_KEY_ID: ${{ secrets.OSS_ACCESS_KEY_ID }}
OSS_ACCESS_KEY_SECRET: ${{ secrets.OSS_ACCESS_KEY_SECRET }}