Skip to content

Commit

Permalink
update url
Browse files Browse the repository at this point in the history
  • Loading branch information
vaaaaanquish committed Jun 21, 2024
1 parent 3d54440 commit ad2d3d4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,11 @@ jobs:
run: chmod +x gradlew
- name: build
run: |
./gradlew jsBrowserProductionWebpack
cp build/kotlin-webpack/js/productionExecutable/* build/processedResources/js/main/
./gradlew build
- name: deploy
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: github-pages
FOLDER: torisetsu/build/processedResources/js/main
FOLDER: torisetsu/build/dist/js/productionExecutable
CLEAN: true
2 changes: 1 addition & 1 deletion torisetsu/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ tasks.register<Copy>("copyStaticPages") {
into("src/jsMain/resources/")
}

tasks["jsProcessResources"].dependsOn("copyStaticPages")
tasks["jsProcessResources"].dependsOn("copyStaticPages")
4 changes: 2 additions & 2 deletions torisetsu/src/jsMain/kotlin/components/base/XShareButton.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import org.jetbrains.compose.web.dom.Text
@Composable
fun XShareButton() {
A(
href = "https://twitter.com/intent/tweet?text=私のトリタイプはハシビロコウです!&url=https://example.com&hashtags=トリタイプ診断",
href = "https://twitter.com/intent/tweet?text=私のトリタイプはハシビロコウです!&url=https://m3dev.github.io/torisetsu&hashtags=トリタイプ診断",
attrs = {
target(ATarget.Blank)
classes(XShareButtonStyle.rootElm)
Expand All @@ -27,4 +27,4 @@ fun XShareButton() {
Text("Xでシェア")
}
}
}
}
4 changes: 2 additions & 2 deletions torisetsu/src/jsMain/kotlin/components/pages/ResultPage.kt
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ fun ResultPage(diagnosis: Diagnosis?, onClickBack: () -> Unit) {
Text(diagnosis!!.postText)
}
A(
href = "https://example.com",
href = "https://jobs.m3.com/engineer/",
attrs = {
target(ATarget.Blank)
}
Expand Down Expand Up @@ -155,4 +155,4 @@ fun ResultPage(diagnosis: Diagnosis?, onClickBack: () -> Unit) {

}
}
}
}

0 comments on commit ad2d3d4

Please sign in to comment.