Skip to content

Commit

Permalink
test the relese schedule creation on my pages
Browse files Browse the repository at this point in the history
  • Loading branch information
chouetz committed Jun 12, 2024
1 parent 0058ff2 commit e45a38e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/create_release_schedule.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: "Create release schedule on confluence"

on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
workflow_dispatch:
inputs:
version:
Expand Down Expand Up @@ -35,4 +37,4 @@ jobs:
ATLASSIAN_USERNAME : ${{ secrets.ATLASSIAN_USERNAME }}
ATLASSIAN_PASSWORD : ${{ secrets.ATLASSIAN_PASSWORD }}
run: |
inv -e release.create-schedule --version ${{ github.event.inputs.version }} --freeze-date ${{ github.event.inputs.freeze_date }}
inv -e release.create-schedule --version "6.4.2" --freeze-date "2024-06-01"
4 changes: 2 additions & 2 deletions tasks/libs/releasing/documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
def create_release_page(version, freeze_date):
username = os.environ['ATLASSIAN_USERNAME']
password = os.environ['ATLASSIAN_PASSWORD']
space_key = "agent"
parent_page_id = "2244936127"
space_key = "~7120207411b2457b4944b7a314674e71629bf8"
parent_page_id = "3747743324"
# Make the POST request to create the page
domain = "https://datadoghq.atlassian.net/wiki"
from atlassian import Confluence
Expand Down

0 comments on commit e45a38e

Please sign in to comment.