diff --git a/.github/workflows/sdf-version.yml b/.github/workflows/sdf-version.yml new file mode 100644 index 00000000..b1689316 --- /dev/null +++ b/.github/workflows/sdf-version.yml @@ -0,0 +1,39 @@ +name: Release SDF Doc + +on: + workflow_dispatch: + +jobs: + create-sdf-version: + permissions: + contents: write + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: set SDF_VERSION + run: | + SDF_VERSION=$(cat ./sdf/VERSION_SDF) + echo SDF_VERSION $SDF_VERSION + echo "SDF_VERSION=${SDF_VERSION}" >> $GITHUB_ENV + - name: install dependencies + run: npm install + - name: create sdf version + run: npm run docusaurus sdf:version $SDF_VERSION + - name: Create Pull Request + uses: peter-evans/create-pull-request@v6 + with: + add-paths: | + sdf_versioned_docs + sdf_versioned_sidebars + docusaurus.config.ts + sdf_versions.json + labels: | + bot + title: 'docs: release sdf version $SDF_VERSION [bot]' + body: | + Updating $SDF_VERSION + Auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action + delete-branch: true + + diff --git a/sdf/SDF_VERSION b/sdf/SDF_VERSION new file mode 100644 index 00000000..f09eb53f --- /dev/null +++ b/sdf/SDF_VERSION @@ -0,0 +1 @@ +sdf-beta2 \ No newline at end of file diff --git a/sdf/cli/deploy.mdx b/sdf/cli/deploy.mdx index c0599f14..c75e30a4 100644 --- a/sdf/cli/deploy.mdx +++ b/sdf/cli/deploy.mdx @@ -9,7 +9,7 @@ The `sdf deploy` command executes a dataflow in the worker. After provisioning, the command enters an [interactive shell] that allows you to interact with the dataflow. -[interactive shell]: #run-interactive-shell +[interactive shell]: #deploy-interactive-shell ### `sdf deploy` command