Skip to content

Commit bdda9c9

Browse files
authored
chore: pr for sdf release (#272)
Co-authored-by: Luis Moreno <morenol@users.noreply.github.com>
1 parent fd10c69 commit bdda9c9

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-1
lines changed

.github/workflows/sdf-version.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Release SDF Doc
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
create-sdf-version:
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: set SDF_VERSION
15+
run: |
16+
SDF_VERSION=$(cat ./sdf/VERSION_SDF)
17+
echo SDF_VERSION $SDF_VERSION
18+
echo "SDF_VERSION=${SDF_VERSION}" >> $GITHUB_ENV
19+
- name: install dependencies
20+
run: npm install
21+
- name: create sdf version
22+
run: npm run docusaurus sdf:version $SDF_VERSION
23+
- name: Create Pull Request
24+
uses: peter-evans/create-pull-request@v6
25+
with:
26+
add-paths: |
27+
sdf_versioned_docs
28+
sdf_versioned_sidebars
29+
docusaurus.config.ts
30+
sdf_versions.json
31+
labels: |
32+
bot
33+
title: 'docs: release sdf version $SDF_VERSION [bot]'
34+
body: |
35+
Updating $SDF_VERSION
36+
Auto-generated by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action
37+
delete-branch: true
38+
39+

sdf/SDF_VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sdf-beta2

sdf/cli/deploy.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The `sdf deploy` command executes a dataflow in the worker.
99

1010
After provisioning, the command enters an [interactive shell] that allows you to interact with the dataflow.
1111

12-
[interactive shell]: #run-interactive-shell
12+
[interactive shell]: #deploy-interactive-shell
1313

1414
### `sdf deploy` command
1515

0 commit comments

Comments
 (0)