Skip to content

Conversation

Sirflyzoner76z
Copy link

.github/workflows/django.yml

Run localisation

trigger: none

pr: none

schedules:

  • cron: "0 0 * * *"
    displayName: Daily midnight build
    branches:
    include:
    - main

pool:
vmImage: "windows-latest"

steps:

  • task: OneLocBuild@2
    env:
    SYSTEM_ACCESSTOKEN: $(System.AccessToken)
    inputs:
    locProj: "Localise/LocProject.json"
    outDir: "$(Build.ArtifactStagingDirectory)"
    isCreatePrSelected: true
    prSourceBranchPrefix: "locfiles"
    isAutoCompletePrSelected: false
    repoType: gitHub
    gitHubPatVariable: $(GitHubPat)
    packageSourceAuth: patAuth
    patVariable: $(OneLocBuildPat)
    lsBuildWarningLevel: 4
    xLocConsoleLoggingLevel: Verbose

  • task: PublishBuildArtifacts@1
    inputs:
    PathtoPublish: "$(Build.ArtifactStagingDirectory)"
    ArtifactName: "drop"
    publishLocation: "Container"Navigate to your repository on GitHub.
    Go to the "Commits" section under the "Code" tab.
    Find the commit you want to revert and click on it.
    Click on the "Revert" button.
    GitHub will create a new commit that undoes the changes made by the original commit.
    Review the changes and commit the revert.
    Alternatively, you can ,linkzz

Signed-off-by: Sirflyzoner76z <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant