Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bb28825e13c1c89e5709f3cb23a9176ed44f5b20Create django.yml #451

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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 <sirflyzoner31776@gmail.com>
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